import request_ucenter from "@/utils/request_ucenter";
import request_msm from "@/utils/request_msm";
export default {
  // 根据手机号发短信
  getMobile(phone) {
    return request_msm({
      url: "/edumsm/msm/send/" + phone,
      method: "get",
    });
  },
  // dl
  submitLogin(loginDto) {
    return request_ucenter({
      url: "/educenter/ucenter-member/login",
      method: "post",
      data: loginDto,
    });
  },
  // 对token解码
  getMemberInfo() {
    return request_ucenter({
      url: "/educenter/ucenter-member/getMemberInfo",
      method: "get",
    });
  },
};
